﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200058B RID: 1419
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FinishCosumeItemMissionScRsp : IMessage<FinishCosumeItemMissionScRsp>, IMessage, IEquatable<FinishCosumeItemMissionScRsp>, IDeepCloneable<FinishCosumeItemMissionScRsp>, IBufferMessage
	{
		// Token: 0x17001236 RID: 4662
		// (get) Token: 0x06003FC9 RID: 16329 RVA: 0x000AEFD5 File Offset: 0x000AD1D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FinishCosumeItemMissionScRsp> Parser
		{
			get
			{
				return FinishCosumeItemMissionScRsp._parser;
			}
		}

		// Token: 0x17001237 RID: 4663
		// (get) Token: 0x06003FCA RID: 16330 RVA: 0x000AEFDC File Offset: 0x000AD1DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FinishCosumeItemMissionScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001238 RID: 4664
		// (get) Token: 0x06003FCB RID: 16331 RVA: 0x000AEFEE File Offset: 0x000AD1EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FinishCosumeItemMissionScRsp.Descriptor;
			}
		}

		// Token: 0x06003FCC RID: 16332 RVA: 0x000AEFF5 File Offset: 0x000AD1F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishCosumeItemMissionScRsp()
		{
		}

		// Token: 0x06003FCD RID: 16333 RVA: 0x000AEFFD File Offset: 0x000AD1FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishCosumeItemMissionScRsp(FinishCosumeItemMissionScRsp other) : this()
		{
			this.subMissionId_ = other.subMissionId_;
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003FCE RID: 16334 RVA: 0x000AF02E File Offset: 0x000AD22E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishCosumeItemMissionScRsp Clone()
		{
			return new FinishCosumeItemMissionScRsp(this);
		}

		// Token: 0x17001239 RID: 4665
		// (get) Token: 0x06003FCF RID: 16335 RVA: 0x000AF036 File Offset: 0x000AD236
		// (set) Token: 0x06003FD0 RID: 16336 RVA: 0x000AF03E File Offset: 0x000AD23E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint SubMissionId
		{
			get
			{
				return this.subMissionId_;
			}
			set
			{
				this.subMissionId_ = value;
			}
		}

		// Token: 0x1700123A RID: 4666
		// (get) Token: 0x06003FD1 RID: 16337 RVA: 0x000AF047 File Offset: 0x000AD247
		// (set) Token: 0x06003FD2 RID: 16338 RVA: 0x000AF04F File Offset: 0x000AD24F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06003FD3 RID: 16339 RVA: 0x000AF058 File Offset: 0x000AD258
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FinishCosumeItemMissionScRsp);
		}

		// Token: 0x06003FD4 RID: 16340 RVA: 0x000AF066 File Offset: 0x000AD266
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FinishCosumeItemMissionScRsp other)
		{
			return other != null && (other == this || (this.SubMissionId == other.SubMissionId && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003FD5 RID: 16341 RVA: 0x000AF0A4 File Offset: 0x000AD2A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.SubMissionId != 0U)
			{
				num ^= this.SubMissionId.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003FD6 RID: 16342 RVA: 0x000AF0FC File Offset: 0x000AD2FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003FD7 RID: 16343 RVA: 0x000AF104 File Offset: 0x000AD304
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003FD8 RID: 16344 RVA: 0x000AF110 File Offset: 0x000AD310
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Retcode);
			}
			if (this.SubMissionId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.SubMissionId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003FD9 RID: 16345 RVA: 0x000AF16C File Offset: 0x000AD36C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.SubMissionId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.SubMissionId);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003FDA RID: 16346 RVA: 0x000AF1C4 File Offset: 0x000AD3C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FinishCosumeItemMissionScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.SubMissionId != 0U)
			{
				this.SubMissionId = other.SubMissionId;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003FDB RID: 16347 RVA: 0x000AF214 File Offset: 0x000AD414
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003FDC RID: 16348 RVA: 0x000AF220 File Offset: 0x000AD420
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 88U)
				{
					if (num != 104U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.SubMissionId = input.ReadUInt32();
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001932 RID: 6450
		private static readonly MessageParser<FinishCosumeItemMissionScRsp> _parser = new MessageParser<FinishCosumeItemMissionScRsp>(() => new FinishCosumeItemMissionScRsp());

		// Token: 0x04001933 RID: 6451
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001934 RID: 6452
		public const int SubMissionIdFieldNumber = 13;

		// Token: 0x04001935 RID: 6453
		private uint subMissionId_;

		// Token: 0x04001936 RID: 6454
		public const int RetcodeFieldNumber = 11;

		// Token: 0x04001937 RID: 6455
		private uint retcode_;
	}
}
